package alp.starcode.nudtportal.framework.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * log_user_feedback（意见反馈表）
 * </p>
 *
 * @author xwx
 * @since 2023-08-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("user_feedback")
@ApiModel(value = "UserFeedback对象", description = "log_user_feedback（意见反馈表）")
public class UserFeedback extends Model<UserFeedback> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "行为流水号")
    @TableId("feedback_id")
    private String feedbackId;

    @ApiModelProperty(value = "用户流水号")
    @TableField("user_id")
    private String userId;

    @ApiModelProperty(value = "一卡通卡号")
    @TableField("campus_number")
    private String campusNumber;

    @ApiModelProperty(value = "登录账号")
    @TableField("login_name")
    private String loginName;

    @ApiModelProperty(value = "反馈类型")
    @TableField("feedback_type")
    private Integer feedbackType;

    @ApiModelProperty(value = "反馈内容")
    @TableField("description")
    private String description;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Long createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField("update_time")
    private Long updateTime;


    @Override
    protected Serializable pkVal() {
        return this.feedbackId;
    }

}
